import random
secret = random.randint(1,10)
print("*************猜字游戏2*************\n")
temp = input("请输入您猜想的数字呀QAQ\n")
guess_data = int(temp)
retry_time = 0
while secret != guess_data:
    if guess_data < secret:
        temp = print("嘿嘿嘿，你猜的数字小了哦，再重新猜一次\n")
    if guess_data > secret :
        temp = print("大了大了,再来一次\n")
    if guess_data == secret :
        print("你是狗吧，这都猜得到\n")
    if retry_time > 3:
        print("这都猜不出来\n")
        break
    guess_data = int(input("猜错啦,请重新输入吧！\n"))
print("不玩了不玩了\n")
    
